<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
	<meta name="author" content="Tutini" />
	<title>Hệ thống quản lý thông tin DPO</title>
    <link rel="stylesheet" type="text/css" href="styles/styles.css" />

    <link rel="stylesheet" href="javascripts/quicknotescript/default.css" />
	<link rel="stylesheet" href="javascripts/quicknotescript/stickies/stickies.css" />

    <script type='text/javascript' src='javascripts/package.js'></script>
    <script src="javascripts/datetimepicker_css.js"></script>
    <script type="text/javascript" src="javascripts/jquery-1.2.1.pack.js"></script>
    <script type="text/javascript" src="javascripts/jscolor/jscolor.js"></script>
    <?php require 'database/config.php'; ?>
</head>

<body>
   <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
	<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/jquery-ui.min.js"></script>

	<script src="javascripts/quicknotescript/json2.js"></script>
	<script src="javascripts/quicknotescript/stickies/stickies.js"></script>
	<script>
		STICKIES.open();
	</script>
	
<div id="headerbg">
    <div id="header"  class="center">
        <div id="logo"><a href="login.php"><img src="styles/logo.png" /></a></div>
        <input class="search" type="text" name="search" id="search" value="Tìm kiếm" onfocus="this.value=''" onblur="this.value='Tìm kiếm'" />
        <a class="text" href="login.php">Đăng xuất</a>
        <a class="text" href="login.php">Đổi mật khẩu</a>
        <div id="member"><img src="styles/avadpo_mini.jpg" /><a class="text" href="">Tú huge</a></div>
</div>
<div id="container" class="center">
	<div id="left">
        <?php 	if (isset($_GET['banhang'])) include 'modules/banhang/block-menu-banhang.php';
                if (isset($_GET['sanxuat'])) include 'modules/sanxuat/block-menu-sanxuat.php';
                if (isset($_GET['nhansu'])) include 'modules/nhansu/block-menu-nhansu.php';
                if (isset($_GET['quanlybanhang'])) include 'modules/quanlybanhang/block-menu-quanlybanhang.php'; ?> 
    </div>
    <div id="main">
    <?php
		if (isset($_GET['module']))
                {
                    switch ($_GET['module'])
                    {
                        case "themdonhang": include "modules/banhang/themdonhang.php";break;
                        case "themkhachhang": include "modules/banhang/themkhachhang.php";break;
                        case "checkdonhang": include "modules/banhang/checkdonhang.php";break;
                        case "vai": include "modules/sanxuat/vai.php";break;
                        case "updatevai": include "modules/sanxuat/updatevai.php";break;
                        case "mau": include "modules/sanxuat/mau.php";break;
                        case "tinhchatdonhang": include "modules/sanxuat/tinhchatdonhang.php";break;
                        case "khuyenmai": include "modules/quanlybanhang/khuyenmai.php";break;
                        case "quanlydonhang": include "modules/quanlybanhang/quanlydonhang.php";break;
                        case "lamnhanh": include "modules/sanxuat/lamnhanh.php";break;
                        case "tinhchat": include "modules/quanlybanhang/tinhchatdonhang.php";break;
                        case "kieuco": include "modules/sanxuat/kieuco.php";break;
                        case "phongban": include "modules/nhansu/phongban.php";break;
                        case "chucvu": include "modules/nhansu/chucvu.php";break;
                        case "thanhvien": include "modules/nhansu/thanhvien.php";break;                                                
                        default: print "<p><h1>Vui lòng chọn chức năng ở bên trái</h1></p>";                        
                    }
                }
                //else include "modules/trang-chu.php";?>
    </div>
</div>
<div id="footer" class="center">
CopyRight © 2011. Hệ thống được xây dựng bởi <a href="http://www.facebook.com/daimabao2007">Tú Huge</a>, 
tiếp sức bởi rất nhiều <a href="http://www.trungnguyen.com.vn">Trung Nguyên</a>,
Poca, <a href="http://www.haihaco.com.vn">Hải Hà Kotobuki</a>, cả <a href="http://www.pepsi.com">Pepsi</a> nữa.
<br/>Cố vấn hệ thống: <a href="http://www.facebook.com/profile.php?id=1715503503">Gia 3G</a>
và <a href="http://www.facebook.com/vuduynguyen">Vũ Duy Nguyên</a>, 
Kiểm thử: <a href="http://www.facebook.com/dongphuc.org">Toàn thể bà con DPOers</a>
</div>
</body>
</html>